<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QSculpt: SceneNode Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QSculpt
   &#160;<span id="projectnumber">0.0.1a</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">SceneNode Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="SceneNode" -->
<p><code>#include &lt;<a class="el" href="_scene_node_8h_source.html">SceneNode.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for SceneNode:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_scene_node.png" usemap="#SceneNode_map" alt=""/>
  <map id="SceneNode_map" name="SceneNode_map">
<area href="class_surface_node.html" alt="SurfaceNode" shape="rect" coords="0,56,87,80"/>
</map>
 </div></div>

<p><a href="class_scene_node-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_scene_node_1_1_impl.html">Impl</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_node_1_1_scene_node_iterator.html">SceneNodeIterator</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f0c26a2445b2aaa9a27fee912336d40"></a><!-- doxytag: member="SceneNode::SceneNode" ref="a7f0c26a2445b2aaa9a27fee912336d40" args="(const QString &amp;=&quot;&quot;, SceneNode *=NULL)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>SceneNode</b> (const QString &amp;=&quot;&quot;, <a class="el" href="class_scene_node.html">SceneNode</a> *=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a54032510cb510d0ffb051541b61eea4a"></a><!-- doxytag: member="SceneNode::iid" ref="a54032510cb510d0ffb051541b61eea4a" args="() const " -->
uint&#160;</td><td class="memItemRight" valign="bottom"><b>iid</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae1e66fe0034c35f10e00de4983f9ed9f"></a><!-- doxytag: member="SceneNode::nodeType" ref="ae1e66fe0034c35f10e00de4983f9ed9f" args="()" -->
virtual NodeType&#160;</td><td class="memItemRight" valign="bottom"><b>nodeType</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a077680130614ba11981b11cf59bb7a9c"></a><!-- doxytag: member="SceneNode::transform" ref="a077680130614ba11981b11cf59bb7a9c" args="() const " -->
const Eigen::Affine3f &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>transform</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e2b22b0bff94947a24fc43f289d9267"></a><!-- doxytag: member="SceneNode::transform" ref="a7e2b22b0bff94947a24fc43f289d9267" args="()" -->
Eigen::Affine3f &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>transform</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e235ee8608e20ea57a077d4ae85d8db"></a><!-- doxytag: member="SceneNode::setTransform" ref="a8e235ee8608e20ea57a077d4ae85d8db" args="(const Eigen::Affine3f &amp;)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setTransform</b> (const Eigen::Affine3f &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_node.html#aecbf3001e8035ab2b547915bb8390660">add</a> (<a class="el" href="class_scene_node.html">SceneNode</a> *child)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_node.html#a02e764027262b40f20787f16cb6f1479">remove</a> (<a class="el" href="class_scene_node.html">SceneNode</a> *child)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_node.html#a61735e6c0c174c76680c006063bdcf79">count</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35236c019007ccfa28155346297c691a"></a><!-- doxytag: member="SceneNode::item" ref="a35236c019007ccfa28155346297c691a" args="(size_t index) const " -->
<a class="el" href="class_scene_node.html">SceneNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>item</b> (size_t index) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a859cec707c4511d97cc730540bd75c94"></a><!-- doxytag: member="SceneNode::isSelected" ref="a859cec707c4511d97cc730540bd75c94" args="() const " -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isSelected</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b5e3eb38783e207b8cec5479231eaa1"></a><!-- doxytag: member="SceneNode::setSelected" ref="a0b5e3eb38783e207b8cec5479231eaa1" args="(bool selected)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setSelected</b> (bool selected)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_node.html#a1db29d355505a91b6910a811f8504597">render</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_iterator.html">Iterator</a>&lt; <a class="el" href="class_scene_node.html">SceneNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_node.html#acd62d6bd94d6a32b7948a941695fcead">iterator</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_iterator.html">Iterator</a>&lt; <a class="el" href="class_scene_node.html">SceneNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene_node.html#a21edc986b92e630646c02cc18d38f62a">constIterator</a> () const </td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac830d055ae7c83311e0043d6f0078fb7"></a><!-- doxytag: member="SceneNode::SceneNodeIterator" ref="ac830d055ae7c83311e0043d6f0078fb7" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>SceneNodeIterator</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Basic scene graph node class.</p>
<p>This class inherit from QStandardItem to be able to be displayed in the document tree widget. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aecbf3001e8035ab2b547915bb8390660"></a><!-- doxytag: member="SceneNode::add" ref="aecbf3001e8035ab2b547915bb8390660" args="(SceneNode *child)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SceneNode::add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_scene_node.html">SceneNode</a> *&#160;</td>
          <td class="paramname"><em>child</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a new child node to this scene node </p>

</div>
</div>
<a class="anchor" id="a21edc986b92e630646c02cc18d38f62a"></a><!-- doxytag: member="SceneNode::constIterator" ref="a21edc986b92e630646c02cc18d38f62a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_iterator.html">Iterator</a>&lt; <a class="el" href="class_scene_node.html">SceneNode</a> &gt; SceneNode::constIterator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns an iterator for the children items in this node </p>

</div>
</div>
<a class="anchor" id="a61735e6c0c174c76680c006063bdcf79"></a><!-- doxytag: member="SceneNode::count" ref="a61735e6c0c174c76680c006063bdcf79" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t SceneNode::count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of children nodes that this node has. </p>

</div>
</div>
<a class="anchor" id="acd62d6bd94d6a32b7948a941695fcead"></a><!-- doxytag: member="SceneNode::iterator" ref="acd62d6bd94d6a32b7948a941695fcead" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_iterator.html">Iterator</a>&lt; <a class="el" href="class_scene_node.html">SceneNode</a> &gt; SceneNode::iterator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns an iterator for the children items in this node </p>

</div>
</div>
<a class="anchor" id="a02e764027262b40f20787f16cb6f1479"></a><!-- doxytag: member="SceneNode::remove" ref="a02e764027262b40f20787f16cb6f1479" args="(SceneNode *child)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SceneNode::remove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_scene_node.html">SceneNode</a> *&#160;</td>
          <td class="paramname"><em>child</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Removes a node from this node. The node to remove must be a direct child from this node. </p>

</div>
</div>
<a class="anchor" id="a1db29d355505a91b6910a811f8504597"></a><!-- doxytag: member="SceneNode::render" ref="a1db29d355505a91b6910a811f8504597" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SceneNode::render </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Function used to render the node on screen. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>engine/include/<a class="el" href="_scene_node_8h_source.html">SceneNode.h</a></li>
<li>engine/src/SceneNode.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sat Aug 27 2011 15:38:53 for QSculpt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
